package com.oz.ems;

import javax.servlet.ServletContext;

import org.nutz.log.Log;
import org.nutz.log.Logs;

public class Utils  {
	
	Log log = Logs.getLog(Utils.class);
	
	private ServletContext sc; 
	
	private static String filesPath;
	
	public String getPath(String path) {
		String tempPath = sc.getRealPath(path);
		return tempPath;
	}

	public static String getFilesPath() {
		return filesPath;
	}

	public static void setFilesPath(String filesPath) {
		Utils.filesPath = filesPath;
	}

}
